# 函数的定义需求：当手机号为”13488888888”，输出"账号成功”：否则”账号错误”
def check_phone(phone):
    if phone == "13488888888":
        print("账号成功")
    else:
        print("账号错误")


check_phone("13488888888")


def check_login(username, password):
    if username == "admin" and password == "123456":
        return {"msg": "登录成功", "code": 200}
    else:
        return {"msg": "登录失败", "code": 201}


# 调用
result = check_login(password="1234567", username="admin")
print(result.get("msg1"))
